package com.quanfaqiang.demo1.service;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.quanfaqiang.demo1.pojo.Notice;
import java.time.LocalDateTime;
import java.util.List;
public interface NoticeService {

    void add(Notice notice);

    void updateById(Notice notice);

    void removeById(Integer id);

    void removeBatchByIds(List<Integer> ids);

    Page<Notice> selectAll(int currentPage, int pageSize);

    Page<Notice> serch(Integer currentPage, Integer pageSize, String username, String title, LocalDateTime startTime, LocalDateTime endTime, Integer state);
}
